package fr.p10.miage.robot;

public abstract class Slot {

	int idSlot;
	Robot robotPlace;

	public Slot(int idSlot) {
		super();
		this.idSlot = idSlot;
		this.robotPlace = null;
	}

	public int getIdSlot() {
		return this.idSlot;
	}

	public Robot getRobotPlace() {
		return this.robotPlace;
	}

	public boolean isOccupe() {
		return (this.robotPlace != null);
	}

	public abstract void sePlacer(Robot r);

	public void setRobotPlace(Robot robotPlace) {
		this.robotPlace = robotPlace;
	}
}